package com.example.gulimallproduct.feigen;

import com.example.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient("gulimall-third-party")
public interface ThirdPartyFeignClient {
//    @GetMapping("/api/third-party/gulimallthirdparty/oss/del")
    /**
     * Oss删除文件
     * @param fileName 文件名
     * @return 删除结果
     */
    @GetMapping("/third-party/gulimallthirdparty/oss/del")
    R del(@RequestParam("fileName") String fileName);
}
